package hn.cch.admin.server.task;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class ScheduledTask {

    private final static Logger logger = LoggerFactory.getLogger(ScheduledTask.class);

    @Scheduled(cron = "* 3 * * * ?")
    private void task() {
        logger.info("schedule task execute");
    }


}
